package com.liliudong.keelflower.upms.biz.entity.sys;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 系统机构菜单关联表
 * </p>
 *
 * @author liudong.li
 * @since 2021-06-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_org_menu")
public class SysOrgMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 机构主键
     */
    @TableField("org_id")
    private Long orgId;

    /**
     * 菜单主键
     */
    @TableField("menu_id")
    private Long menuId;


}
